//
//  CNGoodsModel.m
//  BeeQuick_19
//
//  Created by whong7 on 16/9/26.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNGoodsModel.h"

@implementation CNGoodsModel


-(instancetype)initWithName:(NSString *)name count:(NSInteger)count img:(NSString *)img partner_price:(float)partner_price goods_id:(NSInteger)goods_id
{
    CNGoodsModel *model = [CNGoodsModel alloc];
    model.name = name;
    model.count = (int)count;
    model.img = img;
    model.partner_price = partner_price;
    model.goods_id = (int)goods_id;
    
    return model;
}

-(NSString *)description
{
    return self.yy_modelDescription;
}
@end
